package com.heima.model.comment.dtos;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Data
public class CommentSaveDTO {
    @NotNull
    private Long articleId;

    @NotBlank
    @Length(max = 140)
    private String content;
}